/*
 * Copyright 2019 Zhang XueHai
 * you may not use this file except in compliance with the License.
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.zhangxuehai.android.pdfviewer.annotation;

import com.zhangxuehai.android.pdfviewer.annotation.pen.Pen;
import com.shockwave.pdfium.util.Size;
import com.shockwave.pdfium.util.SizeF;
import java.util.ArrayList;
import java.util.List;

/**
 * 画笔涂鸦注释，记录点坐标列表（注意由于点坐标由Android 的 Touch 事件生成而Touch事件有时间间隔，<br/>
 * 所以坐标列表是有速度关系的，使用这个数据关系可以模拟出笔锋效果），坐标基于pdf坐标
 * @author 章学海
 * @date 2019/12/26
 */
public final class PenAnnotation extends BaseAnnotation<List<SizeF>, Pen.WritePen> {
    public PenAnnotation(int page, Size pageSize, Pen.WritePen pen) {
        super(AnnotationType.PEN,page,pageSize, pen);
        data = new ArrayList<>();
    }

}
